About 1105 letters

About 6 minutes

#HTML <hr>

The <hr> HTML element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.

#Attributes

  • align Deprecated

Non-standard : Sets the alignment of the rule on the page. If no value is specified, the default value is left.

  • color Deprecated

Non-standard : Sets the color of the rule through color name or hexadecimal value.

  • noshade Deprecated

Non-standard : Sets the rule to have no shading.

  • size Deprecated

Non-standard : Sets the height, in pixels, of the rule.

  • width Deprecated

Non-standard : Sets the length of the rule on the page through a pixel or percentage value.

Created in 6/9/2025

Updated in 6/9/2025